#ifndef _SOUND_LOADER_H_
#define _SOUND_LOADER_H_

#include "../Supporting/Enums/EnumSoundType.h"
#include "cocos2d.h"

using namespace cocos2d;

class SoundLoader
{
private:

	static unsigned int	TORNADO_SOUND_ID;
	static unsigned int	EARTHQUAKE_SOUND_ID;

	static bool 		CAT_DEATH;
	static bool			CAT_INJURED;
	static bool			NINJA_SKILL;
	static bool			WITCH_SKILL;
	static bool			IS_MUSIC_MUTE;
	static bool			IS_SOUND_EFFECT_MUTE;
	static bool			IS_MUSIC_PLAYING;

	SoundLoader();

public:
	static bool				getIsSoundEffect() {return IS_SOUND_EFFECT_MUTE;}
	static bool				getIsBackgroundMusic() {return IS_MUSIC_MUTE;}

	static void				init();
	static void				playSound(EnumSoundType soundType);
	static void				endSound(EnumSoundType soundType);
	static void				toggleSoundEffect();
	static void				toggleBackgroundMusic();

	static void 			preloadSounds();

};

#endif
